<template>
  <div>
    <input class="form-control" id="inputEmail3" placeholder="请输入账号" v-model="account">
    <input type="password" class="form-control" id="inputPassword3" placeholder="请输入密码" v-model="password">
    <button type="submit" class="btn btn-default" @click="login">入库一览</button>
    <button type="submit" class="btn btn-default" @click="login2">出库一览</button>
    <button type="submit" class="btn btn-default" @click="login3">库存一览</button>
  </div>
</template>

<script>
export default {
  data () {
    return {
      account: '',
      password: ''
    }
  },
  methods: {
    login: function () {
      this.$router.push({path: '/inbound'})
    },
    login2: function () {
      this.$router.push({path: '/outbound'})
    },
    login3: function () {
      this.$router.push({path: '/inventory'})
    }
  }
}
</script>
